package com.ruoyi.generator.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 代码模版文件对象 gen_template_file
 * 
 * @author aibozeng
 * @date 2023-04-17
 */
public class GenTemplateFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文件主键 */
    private Long fileId;

    /** 代码文件名称 */
    @Excel(name = "代码文件名称")
    private String fileName;

    /** 代码文件描述 */
    private String fileDesc;

    /** 模版文件路径 */
    @Excel(name = "模版文件路径")
    private String filePath;

    /** 代码类型 */
    @Excel(name = "代码类型")
    private String fileExt;

    /** 输出路径 */
    private String outDir;

    /** 静态页面样例 */
    private String exampleUrl;

    /** 模版id */
    private Long templateId;

    public void setFileId(Long fileId) 
    {
        this.fileId = fileId;
    }

    public Long getFileId() 
    {
        return fileId;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFileDesc(String fileDesc) 
    {
        this.fileDesc = fileDesc;
    }

    public String getFileDesc() 
    {
        return fileDesc;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setFileExt(String fileExt) 
    {
        this.fileExt = fileExt;
    }

    public String getFileExt() 
    {
        return fileExt;
    }
    public void setOutDir(String outDir) 
    {
        this.outDir = outDir;
    }

    public String getOutDir() 
    {
        return outDir;
    }
    public void setExampleUrl(String exampleUrl) 
    {
        this.exampleUrl = exampleUrl;
    }

    public String getExampleUrl() 
    {
        return exampleUrl;
    }
    public void setTemplateId(Long templateId) 
    {
        this.templateId = templateId;
    }

    public Long getTemplateId() 
    {
        return templateId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fileId", getFileId())
            .append("fileName", getFileName())
            .append("fileDesc", getFileDesc())
            .append("filePath", getFilePath())
            .append("fileExt", getFileExt())
            .append("outDir", getOutDir())
            .append("exampleUrl", getExampleUrl())
            .append("templateId", getTemplateId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
